import request from '../request'

//添加微博:content是微博的内容
export const postWeibo = (content) => {
    return request.post('/weibo',{content})
}

//获取微博
export const getWeibo = (pageNo, pageSize) => {
    return request.get('/weibo', {
        params: {
            pageNo,
            pageSize
        }
    })
}
// 3- 删除微博
// 4- 修改微博